Integrand size = 24, antiderivative size = 201 \[ \int \frac {(A+B x) (d+e x)^{3/2}}{(a+b x)^{5/2}} \, dx=\frac {e (3 b B d+2 A b e-5 a B e) \sqrt {a+b x} \sqrt {d+e x}}{b^3 (b d-a e)}-\frac {2 (3 b B d+2 A b e-5 a B e) (d+e x)^{3/2}}{3 b^2 (b d-a e) \sqrt {a+b x}}-\frac {2 (A b-a B) (d+e x)^{5/2}}{3 b (b d-a e) (a+b x)^{3/2}}+\frac {\sqrt {e} (3 b B d+2 A b e-5 a B e) \text {arctanh}\left (\frac {\sqrt {e} \sqrt {a+b x}}{\sqrt {b} \sqrt {d+e x}}\right )}{b^{7/2}} \]
[Out]
Time = 0.12 (sec) , antiderivative size = 201, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {79, 49, 52, 65, 223, 212} \[ \int \frac {(A+B x) (d+e x)^{3/2}}{(a+b x)^{5/2}} \, dx=\frac {\sqrt {e} (-5 a B e+2 A b e+3 b B d) \text {arctanh}\left (\frac {\sqrt {e} \sqrt {a+b x}}{\sqrt {b} \sqrt {d+e x}}\right )}{b^{7/2}}+\frac {e \sqrt {a+b x} \sqrt {d+e x} (-5 a B e+2 A b e+3 b B d)}{b^3 (b d-a e)}-\frac {2 (d+e x)^{3/2} (-5 a B e+2 A b e+3 b B d)}{3 b^2 \sqrt {a+b x} (b d-a e)}-\frac {2 (d+e x)^{5/2} (A b-a B)}{3 b (a+b x)^{3/2} (b d-a e)} \]
[In]
[Out]
Rule 49
Rule 52
Rule 65
Rule 79
Rule 212
Rule 223
Rubi steps \begin{align*} \text {integral}& = -\frac {2 (A b-a B) (d+e x)^{5/2}}{3 b (b d-a e) (a+b x)^{3/2}}+\frac {(3 b B d+2 A b e-5 a B e) \int \frac {(d+e x)^{3/2}}{(a+b x)^{3/2}} \, dx}{3 b (b d-a e)} \\ & = -\frac {2 (3 b B d+2 A b e-5 a B e) (d+e x)^{3/2}}{3 b^2 (b d-a e) \sqrt {a+b x}}-\frac {2 (A b-a B) (d+e x)^{5/2}}{3 b (b d-a e) (a+b x)^{3/2}}+\frac {(e (3 b B d+2 A b e-5 a B e)) \int \frac {\sqrt {d+e x}}{\sqrt {a+b x}} \, dx}{b^2 (b d-a e)} \\ & = \frac {e (3 b B d+2 A b e-5 a B e) \sqrt {a+b x} \sqrt {d+e x}}{b^3 (b d-a e)}-\frac {2 (3 b B d+2 A b e-5 a B e) (d+e x)^{3/2}}{3 b^2 (b d-a e) \sqrt {a+b x}}-\frac {2 (A b-a B) (d+e x)^{5/2}}{3 b (b d-a e) (a+b x)^{3/2}}+\frac {(e (3 b B d+2 A b e-5 a B e)) \int \frac {1}{\sqrt {a+b x} \sqrt {d+e x}} \, dx}{2 b^3} \\ & = \frac {e (3 b B d+2 A b e-5 a B e) \sqrt {a+b x} \sqrt {d+e x}}{b^3 (b d-a e)}-\frac {2 (3 b B d+2 A b e-5 a B e) (d+e x)^{3/2}}{3 b^2 (b d-a e) \sqrt {a+b x}}-\frac {2 (A b-a B) (d+e x)^{5/2}}{3 b (b d-a e) (a+b x)^{3/2}}+\frac {(e (3 b B d+2 A b e-5 a B e)) \text {Subst}\left (\int \frac {1}{\sqrt {d-\frac {a e}{b}+\frac {e x^2}{b}}} \, dx,x,\sqrt {a+b x}\right )}{b^4} \\ & = \frac {e (3 b B d+2 A b e-5 a B e) \sqrt {a+b x} \sqrt {d+e x}}{b^3 (b d-a e)}-\frac {2 (3 b B d+2 A b e-5 a B e) (d+e x)^{3/2}}{3 b^2 (b d-a e) \sqrt {a+b x}}-\frac {2 (A b-a B) (d+e x)^{5/2}}{3 b (b d-a e) (a+b x)^{3/2}}+\frac {(e (3 b B d+2 A b e-5 a B e)) \text {Subst}\left (\int \frac {1}{1-\frac {e x^2}{b}} \, dx,x,\frac {\sqrt {a+b x}}{\sqrt {d+e x}}\right )}{b^4} \\ & = \frac {e (3 b B d+2 A b e-5 a B e) \sqrt {a+b x} \sqrt {d+e x}}{b^3 (b d-a e)}-\frac {2 (3 b B d+2 A b e-5 a B e) (d+e x)^{3/2}}{3 b^2 (b d-a e) \sqrt {a+b x}}-\frac {2 (A b-a B) (d+e x)^{5/2}}{3 b (b d-a e) (a+b x)^{3/2}}+\frac {\sqrt {e} (3 b B d+2 A b e-5 a B e) \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {a+b x}}{\sqrt {b} \sqrt {d+e x}}\right )}{b^{7/2}} \\ \end{align*}
Time = 0.30 (sec) , antiderivative size = 133, normalized size of antiderivative = 0.66 \[ \int \frac {(A+B x) (d+e x)^{3/2}}{(a+b x)^{5/2}} \, dx=-\frac {\sqrt {d+e x} \left (B \left (-15 a^2 e+4 a b (d-5 e x)-3 b^2 x (-2 d+e x)\right )+2 A b (3 a e+b (d+4 e x))\right )}{3 b^3 (a+b x)^{3/2}}+\frac {\sqrt {e} (3 b B d+2 A b e-5 a B e) \text {arctanh}\left (\frac {\sqrt {e} \sqrt {a+b x}}{\sqrt {b} \sqrt {d+e x}}\right )}{b^{7/2}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(697\) vs. \(2(173)=346\).
Time = 1.11 (sec) , antiderivative size = 698, normalized size of antiderivative = 3.47
method | result | size |
default | \(\frac {\sqrt {e x +d}\, \left (6 A \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) b^{3} e^{2} x^{2}-15 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a \,b^{2} e^{2} x^{2}+9 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) b^{3} d e \,x^{2}+12 A \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a \,b^{2} e^{2} x -30 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a^{2} b \,e^{2} x +18 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a \,b^{2} d e x +6 B \,b^{2} e \,x^{2} \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+6 A \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a^{2} b \,e^{2}-16 A \,b^{2} e x \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}-15 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a^{3} e^{2}+9 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a^{2} b d e +40 B a b e x \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}-12 B \,b^{2} d x \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}-12 A a b e \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}-4 A \,b^{2} d \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+30 B \,a^{2} e \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}-8 B a b d \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}\right )}{6 \sqrt {b e}\, \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, b^{3} \left (b x +a \right )^{\frac {3}{2}}}\) | \(698\) |
[In]
[Out]
none
Time = 0.92 (sec) , antiderivative size = 561, normalized size of antiderivative = 2.79 \[ \int \frac {(A+B x) (d+e x)^{3/2}}{(a+b x)^{5/2}} \, dx=\left [\frac {3 \, {\left (3 \, B a^{2} b d + {\left (3 \, B b^{3} d - {\left (5 \, B a b^{2} - 2 \, A b^{3}\right )} e\right )} x^{2} - {\left (5 \, B a^{3} - 2 \, A a^{2} b\right )} e + 2 \, {\left (3 \, B a b^{2} d - {\left (5 \, B a^{2} b - 2 \, A a b^{2}\right )} e\right )} x\right )} \sqrt {\frac {e}{b}} \log \left (8 \, b^{2} e^{2} x^{2} + b^{2} d^{2} + 6 \, a b d e + a^{2} e^{2} + 4 \, {\left (2 \, b^{2} e x + b^{2} d + a b e\right )} \sqrt {b x + a} \sqrt {e x + d} \sqrt {\frac {e}{b}} + 8 \, {\left (b^{2} d e + a b e^{2}\right )} x\right ) + 4 \, {\left (3 \, B b^{2} e x^{2} - 2 \, {\left (2 \, B a b + A b^{2}\right )} d + 3 \, {\left (5 \, B a^{2} - 2 \, A a b\right )} e - 2 \, {\left (3 \, B b^{2} d - 2 \, {\left (5 \, B a b - 2 \, A b^{2}\right )} e\right )} x\right )} \sqrt {b x + a} \sqrt {e x + d}}{12 \, {\left (b^{5} x^{2} + 2 \, a b^{4} x + a^{2} b^{3}\right )}}, -\frac {3 \, {\left (3 \, B a^{2} b d + {\left (3 \, B b^{3} d - {\left (5 \, B a b^{2} - 2 \, A b^{3}\right )} e\right )} x^{2} - {\left (5 \, B a^{3} - 2 \, A a^{2} b\right )} e + 2 \, {\left (3 \, B a b^{2} d - {\left (5 \, B a^{2} b - 2 \, A a b^{2}\right )} e\right )} x\right )} \sqrt {-\frac {e}{b}} \arctan \left (\frac {{\left (2 \, b e x + b d + a e\right )} \sqrt {b x + a} \sqrt {e x + d} \sqrt {-\frac {e}{b}}}{2 \, {\left (b e^{2} x^{2} + a d e + {\left (b d e + a e^{2}\right )} x\right )}}\right ) - 2 \, {\left (3 \, B b^{2} e x^{2} - 2 \, {\left (2 \, B a b + A b^{2}\right )} d + 3 \, {\left (5 \, B a^{2} - 2 \, A a b\right )} e - 2 \, {\left (3 \, B b^{2} d - 2 \, {\left (5 \, B a b - 2 \, A b^{2}\right )} e\right )} x\right )} \sqrt {b x + a} \sqrt {e x + d}}{6 \, {\left (b^{5} x^{2} + 2 \, a b^{4} x + a^{2} b^{3}\right )}}\right ] \]
[In]
[Out]
\[ \int \frac {(A+B x) (d+e x)^{3/2}}{(a+b x)^{5/2}} \, dx=\int \frac {\left (A + B x\right ) \left (d + e x\right )^{\frac {3}{2}}}{\left (a + b x\right )^{\frac {5}{2}}}\, dx \]
[In]
[Out]
Exception generated. \[ \int \frac {(A+B x) (d+e x)^{3/2}}{(a+b x)^{5/2}} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 1019 vs. \(2 (173) = 346\).
Time = 0.53 (sec) , antiderivative size = 1019, normalized size of antiderivative = 5.07 \[ \int \frac {(A+B x) (d+e x)^{3/2}}{(a+b x)^{5/2}} \, dx=\frac {\sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e} \sqrt {b x + a} B e {\left | b \right |}}{b^{5}} - \frac {{\left (3 \, \sqrt {b e} B b d {\left | b \right |} - 5 \, \sqrt {b e} B a e {\left | b \right |} + 2 \, \sqrt {b e} A b e {\left | b \right |}\right )} \log \left ({\left (\sqrt {b e} \sqrt {b x + a} - \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e}\right )}^{2}\right )}{2 \, b^{5}} - \frac {4 \, {\left (3 \, \sqrt {b e} B b^{6} d^{4} {\left | b \right |} - 16 \, \sqrt {b e} B a b^{5} d^{3} e {\left | b \right |} + 4 \, \sqrt {b e} A b^{6} d^{3} e {\left | b \right |} + 30 \, \sqrt {b e} B a^{2} b^{4} d^{2} e^{2} {\left | b \right |} - 12 \, \sqrt {b e} A a b^{5} d^{2} e^{2} {\left | b \right |} - 24 \, \sqrt {b e} B a^{3} b^{3} d e^{3} {\left | b \right |} + 12 \, \sqrt {b e} A a^{2} b^{4} d e^{3} {\left | b \right |} + 7 \, \sqrt {b e} B a^{4} b^{2} e^{4} {\left | b \right |} - 4 \, \sqrt {b e} A a^{3} b^{3} e^{4} {\left | b \right |} - 6 \, \sqrt {b e} {\left (\sqrt {b e} \sqrt {b x + a} - \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e}\right )}^{2} B b^{4} d^{3} {\left | b \right |} + 24 \, \sqrt {b e} {\left (\sqrt {b e} \sqrt {b x + a} - \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e}\right )}^{2} B a b^{3} d^{2} e {\left | b \right |} - 6 \, \sqrt {b e} {\left (\sqrt {b e} \sqrt {b x + a} - \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e}\right )}^{2} A b^{4} d^{2} e {\left | b \right |} - 30 \, \sqrt {b e} {\left (\sqrt {b e} \sqrt {b x + a} - \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e}\right )}^{2} B a^{2} b^{2} d e^{2} {\left | b \right |} + 12 \, \sqrt {b e} {\left (\sqrt {b e} \sqrt {b x + a} - \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e}\right )}^{2} A a b^{3} d e^{2} {\left | b \right |} + 12 \, \sqrt {b e} {\left (\sqrt {b e} \sqrt {b x + a} - \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e}\right )}^{2} B a^{3} b e^{3} {\left | b \right |} - 6 \, \sqrt {b e} {\left (\sqrt {b e} \sqrt {b x + a} - \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e}\right )}^{2} A a^{2} b^{2} e^{3} {\left | b \right |} + 3 \, \sqrt {b e} {\left (\sqrt {b e} \sqrt {b x + a} - \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e}\right )}^{4} B b^{2} d^{2} {\left | b \right |} - 12 \, \sqrt {b e} {\left (\sqrt {b e} \sqrt {b x + a} - \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e}\right )}^{4} B a b d e {\left | b \right |} + 6 \, \sqrt {b e} {\left (\sqrt {b e} \sqrt {b x + a} - \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e}\right )}^{4} A b^{2} d e {\left | b \right |} + 9 \, \sqrt {b e} {\left (\sqrt {b e} \sqrt {b x + a} - \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e}\right )}^{4} B a^{2} e^{2} {\left | b \right |} - 6 \, \sqrt {b e} {\left (\sqrt {b e} \sqrt {b x + a} - \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e}\right )}^{4} A a b e^{2} {\left | b \right |}\right )}}{3 \, {\left (b^{2} d - a b e - {\left (\sqrt {b e} \sqrt {b x + a} - \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e}\right )}^{2}\right )}^{3} b^{4}} \]
[In]
[Out]
Timed out. \[ \int \frac {(A+B x) (d+e x)^{3/2}}{(a+b x)^{5/2}} \, dx=\int \frac {\left (A+B\,x\right )\,{\left (d+e\,x\right )}^{3/2}}{{\left (a+b\,x\right )}^{5/2}} \,d x \]
[In]
[Out]